<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="keyword" content="FlatLab, Dashboard, Bootstrap, Admin, Template, Theme, Responsive, Fluid, Retina">
    <link rel="shortcut icon" href="/assets/style4/img/favicon.png">
    <title>{$webTitle}-{:config('web_name')}</title>
    <!-- Bootstrap core CSS -->
    <link href="/assets/style4/css/bootstrap.min.css" rel="stylesheet">
    <link href="/assets/style4/css/bootstrap-reset.css" rel="stylesheet">
    <!--external css-->
    <link href="/assets/common/font-awesome-4.6.3/css/font-awesome.min.css" rel="stylesheet" />
    <link href="/assets/style4/assets/jquery-easy-pie-chart/jquery.easy-pie-chart.css" rel="stylesheet" type="text/css" media="screen"/>
    <link rel="stylesheet" href="/assets/style4/css/owl.carousel.css" type="text/css">

    <!--right slidebar-->
    <link href="/assets/style4/css/slidebars.css" rel="stylesheet">

    <!-- Custom styles for this template -->

    <link href="/assets/style4/css/style.css" rel="stylesheet">
    <link href="/assets/style4/css/style-responsive.css" rel="stylesheet" />

    <link rel="stylesheet" type="text/css" href="/assets/sweetalert/sweetalert.css"/>
    <script src="/assets/sweetalert/sweetalert.min.js" type="text/javascript"></script>
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 tooltipss and media queries -->
    <!--[if lt IE 9]>
    <script src="/assets/style4/js/html5shiv.js"></script>
    <script src="/assets/style4/js/respond.min.js"></script>
    <![endif]-->
    <script src="/assets/style4/js/jquery.js"></script>
    <script src="/assets/style4/js/bootstrap.min.js"></script>
</head>

<body>

<section id="container" >
    <!--header start-->
    {block name="head"}{/block}
    <!--header end-->
    <!--sidebar start-->
    {block name="left"}{/block}
    <!--sidebar end-->
    <!--main content start-->
    <section id="main-content">
        <section class="wrapper">
            {block name="nav"}{/block}
            {block name="main"}{/block}
        </section>
        <!--footer start-->
        <footer class="site-footer" style="position: fixed;width: 100%;    bottom: 0;">
            <div class="text-center">
                Copyright &copy; 2017 - 2018 {:config('web_name')}, All Rights Reserved
                <a href="#" class="go-top" style="margin-right: 12%">
                    <i class="fa fa-angle-up"></i>
                </a>
            </div>
        </footer>
        <!--footer end-->
    </section>
    <!--main content end-->

</section>

<!-- js placed at the end of the document so the pages load faster -->
<script class="include" type="text/javascript" src="/assets/style4/js/jquery.dcjqaccordion.2.7.js"></script>
<script src="/assets/style4/js/jquery.scrollTo.min.js"></script>
<script src="/assets/style4/js/jquery.nicescroll.js" type="text/javascript"></script>
<script src="/assets/style4/js/jquery.sparkline.js" type="text/javascript"></script>
<script src="/assets/style4/assets/jquery-easy-pie-chart/jquery.easy-pie-chart.js"></script>
<script src="/assets/style4/js/owl.carousel.js" ></script>
<script src="/assets/style4/js/jquery.customSelect.min.js" ></script>
<script src="/assets/style4/js/respond.min.js" ></script>

<!--right slidebar-->
<script src="/assets/style4/js/slidebars.min.js"></script>

<!--common script for all pages-->
<script src="/assets/style4/js/common-scripts.js"></script>

<!--script for this page-->
<script src="/assets/style4/js/sparkline-chart.js"></script>
<script src="/assets/style4/js/easy-pie-chart.js"></script>
{block name="footJs"}{/block}
{if condition="isset($alert)"}
<script type="text/javascript">{$alert}</script>
{/if}
<script type="text/javascript">
    $(document).ready(function () {
        var pathname = window.location.pathname;
        $(".sidebar-menu a").each(function () {
            var href = $(this).attr('href');
            if (href == pathname) {
                $(this).addClass("active");
                $(this).parent().addClass("active");
                $(this).parent().parent().prev().click();
            }
        });

    });
</script>
</body>
</html>
